package com.zhehekeji.opsys.api.resp;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import com.zhehekeji.opsys.api.common.util.SuperResp;

/**
 * @ClassName GetScrollmsgListResp
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2016-8-16   下午2:22:10
 */
@XmlRootElement
public class GetScrollmsgListResp extends SuperResp{

	/**
	 * 
	 */
	private static final long serialVersionUID = -467437819214473257L;
	private Integer recordSize;
	List<ScrollmsgInfo> scrollmsgInfos;
	
	public Integer getRecordSize() {
		return recordSize;
	}

	public void setRecordSize(Integer recordSize) {
		this.recordSize = recordSize;
	}

	public List<ScrollmsgInfo> getScrollmsgInfos() {
		return scrollmsgInfos;
	}

	public void setScrollmsgInfos(List<ScrollmsgInfo> scrollmsgInfos) {
		this.scrollmsgInfos = scrollmsgInfos;
	}

	@Override
	public String toString() {
		return "GetScrollmsgListResp [recordSize=" + recordSize
				+ ", scrollmsgInfos=" + scrollmsgInfos + ", getResultCode()="
				+ getResultCode() + ", getResultDesc()=" + getResultDesc()
				+ "]";
	}

	public static class ScrollmsgInfo implements Serializable{

		/**
		 * 
		 */
		private static final long serialVersionUID = -7990839182184931466L;
		private String code;
		private String content;
		private Long cpCode;
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public Long getCpCode() {
			return cpCode;
		}
		public void setCpCode(Long cpCode) {
			this.cpCode = cpCode;
		}
		@Override
		public String toString() {
			return "ScrollmsgInfo [code=" + code + ", cpCode=" + cpCode + "]";
		}
	}
}

